/**
 *
 * Escola
 * 01/07/2012 - 18:22:15
 *
 */
package escola.modelo.status;

import escola.modelo.AbstractModel;

/**
 * @author Jonathan
 *
 */
public class Status extends AbstractModel {
	
	public static final int STATUS_OPEN = 1;
	
	public static final int STATUS_ACTIVE = 2;
	
	public static final int STATUS_DESACTIVE = 3;
	
	public static final Status OPEN = new Status(STATUS_OPEN);
	
	public static final Status ACTIVE = new Status(STATUS_ACTIVE);
	
	public static final Status DESACTIVE = new Status(STATUS_DESACTIVE);

	private Integer id;
	
	private String nome;
	
	public Status(Integer idStatus) {
		this.id = idStatus;
		this.nome = getName(idStatus);
	}
	
	private String getName(Integer idStatus) {
		return null;
	}

	@Override
	public Integer getId() {
		return id ;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}


}
